﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace MvcApplication6.Models
{
    public class Category_eventModel
    {
        //id
        public int Id { get; set; }
        //name
        [Required(ErrorMessage = "*Nhập tên Category event!")]
        public string Name { get; set; }
        //content_template
        [Required(ErrorMessage = "*Nhập nội dung cho Category event!")]
        public string Content_template { get; set; }
        //del_flg
        public int DelFlg { get; set; }

        public List<EventModel> listEventModel = new List<EventModel>(); 
    }
}